package model.effects;

import model.entity.Entity;
import model.map.MapPoint;

/**
 * Defines general effects that alter an Entity.
 * @author Zachary
 */
public abstract class Effect implements Cloneable{
	public abstract void modifyParameter(double modification);
	public abstract void doEffect(Entity e);
	public abstract String toString(double factor);
	
	public Effect clone(){
		try{
		      Effect cloned = (Effect)super.clone();
		      return cloned;
	    }catch(CloneNotSupportedException e){
		      System.out.println(e);
		      return null;
	    }
	}
}
